package com.qnw.CardGroupManagement.bean;

import com.qnw.CardGroupManagement.Card;

public class DeckCard{

	public static final int MAIN=0;
	public static final int EXTRA=1;
	public static final int SIZE=2;
	
	private Card card;
	private int type;

	public void setType(int type) {
		this.type = type;
	}

	public int getType() {
		return type;
	}


	public void setCard(Card card) {
		this.card = card;
	}

	public Card getCard() {
		return card;
	}
	
	public static DeckCard toDeckCard(Card card,int deckCardType){
		DeckCard dc=new DeckCard();
		dc.setCard(card);
		dc.setType(deckCardType);
		return dc;
	}
}
	
